package gsz;

import java.math.BigDecimal;

/**
 * @create by: gsz
 * @since : 2022/8/25
 * 水果
 */
public class Fruit {
    //每斤价格
    private BigDecimal price;
    //斤数
    private BigDecimal jin;
    //促销打折
    private BigDecimal discount;
    //水果名
    private String name;

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getJin() {
        return jin;
    }

    public void setJin(BigDecimal jin) {
        this.jin = jin;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
